@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: 'icomoon';
    src:url('fonts/icomoon.eot');
    src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
    url('fonts/icomoon.woff') format('woff'),
    url('fonts/icomoon.ttf') format('truetype'),
    url('fonts/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Use the following CSS code if you want to use data attributes for inserting your icons */
[data-icon]:before {
    font-family: 'icomoon';
    content: attr(data-icon);
    speak: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

/* Use the following CSS code if you want to have a class per icon */
/*
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
[class*="icon-"] {
*/
.icon-caret-down, .icon-caret-up, .icon-list, .icon-repeat, .icon-ellipsis-vertical, .icon-cog, .icon-spinner, .icon-arrow-left {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
.icon-caret-down:before {
    content: "\f0d7";
}
.icon-caret-up:before {
    content: "\f0d8";
}
.icon-list:before {
    content: "\e000";
}
.icon-repeat:before {
    content: "\f01e";
}
.icon-ellipsis-vertical:before {
    content: "\f142";
}
.icon-cog:before {
    content: "\e001";
}
.icon-spinner:before {
    content: "\e002";
}
.icon-arrow-left:before {
    content: "\f060";
}

*, :after, :before, :focus {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    border-radius: 0;
    outline: 0 none;
}

*::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

*::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #6D6E70;
}

@-webkit-keyframes slideleft {
    0% {
        -webkit-transform: translateX(83%);
    }
    80% {
        -webkit-transform: translateX(-4%);
    }
    100% {
        -webkit-transform: translateX(0);
    }
}
@-webkit-keyframes slideright {
    0% {
        -webkit-transform: translateX(0);
    }
    80% {
        -webkit-transform: translateX(87%);
    }
    100% {
        -webkit-transform: translateX(83%);
    }
}

@-webkit-keyframes scaleInAppear {
    from {
        opacity: 0;
        -webkit-transform: scale(0.8);
    }
    to {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}

@-webkit-keyframes scaleOutFade {
    from {
        opacity: 1;
        -webkit-transform: scale(1);
    }
    to {
        opacity: 0;
        -webkit-transform: scale(0.8);
    }
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg);}
    100% { -webkit-transform: rotate(360deg);}
}

.slide-left {
    -webkit-transform: translateX(83%) translateZ(0);
    -webkit-animation: slideleft 500ms;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
}
.slide-right {
    -webkit-transform: translateX(0) translateZ(0);
    -webkit-animation: slideright 500ms;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
}

.scale-in-appear {
    z-index: 101;
    opacity: 1;
    -webkit-animation: scaleInAppear 300ms;
}

.scale-out-fade {
    z-index: 101;
    opacity: 0;
    -webkit-animation: scaleOutFade 300ms;
}

.page.right {
    -webkit-transform: translateX(83%);
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    color: #6D6E70;
    font-family: 'Roboto Condensed', sans-serif;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
}

section, header, div, ul, li, a, h1, strong, span, small {
    display: -webkit-box;
}

.page {
    position: absolute;
    display: none;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    background: rgba(255,255,255,1);
    -webkit-box-orient: vertical;
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
}

.current, .program {
    display: -webkit-box !important;
}

.content {
    -webkit-box-orient: vertical;
    -webkit-box-flex: 1;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    position: relative;
}

.cinemas {
    background: #333;
    padding: 10px;
    padding-left: 0;
    padding-right: 17%;
}

.program {
    box-shadow: -1px 0 10px 8px rgba(0,0,0,0.6);
}

.program header {
    margin: 0 10px;
    height: 40px;
    border-bottom: 1px solid #222;
    -webkit-box-align: center;
}

.movie {
    background: #000;
    color: #fff;
}

.movie .content > div:first-child {
    -webkit-box-orient: vertical;
    -webkit-box-align: center;
    padding: 20px;
}
.movie h3 {
    text-align: center;
}

.image {
    width: 100%;
    height: 225px;
    margin: 20px 0;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
}

.info-list {
    width: 100%;
    -webkit-box-orient: vertical;
    font-size: 12px;
    -webkit-user-select: auto;
}

.info-list li strong,
.info-list li span {
    width: 100%;
    -webkit-box-flex: 1;
    word-break: break-all;
}

.button {
    width: 40px;
    height: 100%;
    -webkit-box-align: center;
    -webkit-box-pack: center;
}

.button.active {
    background: #FAA14A;
    color: #fff;
}

header {
    -webkit-box-orient: horizontal;
}

header h1 {
    color: #333;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: normal;
    text-align: center;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    -webkit-box-flex: 1;
    -webkit-box-orient: vertical;
    position: relative;
}

header h1 small {
    font-size: 9px;
    color: #888;
}

header h1 small.down {
    margin-top: -3px;
    margin-bottom: -5px;
}

header .button:first-child {
    width: 50px;
    margin-left: -10px;
    padding-left: 10px;
}

header .button:last-child {
    width: 50px;
    margin-right: -10px;
    padding-right: 10px;
}

.logo {
    margin: 0 10px;
    text-indent: -9999px;
    width: 100%;
    height: 75px;
    background: url(logo.png) 0 0 no-repeat;
    background-size: 160px auto;
}

.cinemas .list {
    padding: 20px 0;
}

.program .list {
    padding: 0 0 10px;
}

.program .list li {
    color: #666;
    font-size: 14px;
    font-weight: bold;
    -webkit-box-orient: vertical;
}

.program .list li.active div:first-child {
    background: #FAA14A;
    color: #fff;
}

.program .list li.active {
    background: transparent;
    color: inherit;
}

.program .list li div:first-child {
    width: auto;
    border-bottom: none;
    margin: 0 -10px;
    padding: 10px 20px;
}

.program .list li .hours {
    border-top: 1px solid #aaa;
    overflow: hidden;
    width: 100%;
    padding: 0;
    background: rgba(0,0,0,0.2);
    -webkit-box-orient: vertical;
}

.program .list li .hours span {
    padding: 5px 10px;
    font-size: 12px;
}

.list {
    -webkit-box-orient: vertical;
}

.list li {
    margin-top: 1px;
    color: #aaa;
    padding: 0 10px;
}

.list li div {
    padding: 10px;
    margin-bottom: -1px;
    width: 100%;
    border-bottom: 1px solid #666;

}

.list li.active {
    background: #FAA14A;
    color: #fff;
}

.loader-wrapper.visible {
    display: -webkit-box;
}

.loader-wrapper {
    display: none;
    position: absolute;
    width: 100%;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    -webkit-box-pack: center;
    -webkit-box-align: center;
}

.loader-wrapper.white {
    background: rgba(255,255,255,0.5);
}

.loader-wrapper.dark {
    background: rgba(0,0,0,0.5);
}

.loader {
    font-size: 34px;
    -webkit-animation: spin 0.8s infinite linear;
    line-height: 37px;
    width: 35px;
    height: 33px;
    text-align: center;
}

.movie-name {
    -webkit-box-pack: justify;
}

select {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}

.drop-down {
    background: #333;
    -webkit-box-orient: vertical;
    position: absolute;
    right: -10000px;
    top: 45px;
    z-index: 200;
    padding: 5px 0;
    opacity: 0;
    -webkit-transition: opacity 200ms linear;
}

.drop-down.visible {
    right: 10px;
    opacity: 1;
}


.drop-down li:first-child {
    border-top: none;
}

.drop-down li {
    padding: 10px 15px;
    font-size: 12px;
    text-transform: uppercase;
    color: #ccc;
    border-top: 1px solid #444;
}

.drop-down li.active {
    background: #111;
}

.empty, .problem {
    position: absolute;
    color: #111;
    top: 40px;
    left: 0;
    width: 100%;
    bottom: 60px;
    background-image: url('');
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 60px auto;
    -webkit-box-pack: center;
    -webkit-box-align: center;
}

.movie .problem, .movie .empty {
    color: #eee;
    background-image: url('');
}

.movie .problem > *, .movie .empty > * {
    display: none;
}

.empty:before {
    content: "Няма програма за тази дата";
    margin-top: 90px;
    display: inline-block;
}

.problem:before {
    content: "Проблем при свързване със сървъра";
    margin-top: 90px;
    display: inline-block;
}

.mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
}

.alert {
    background: rgba(0,0,0,0.2);
    -webkit-box-pack: center;
    -webkit-box-align: center;
    padding: 30px;
}

.alert .message {
    background: #fff;
    width: 100%;
    padding: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-align: center;
    box-shadow: 0 0 6px 2px rgba(0,0,0,0.5);
}

.alert .message .text {
    min-height: 50px;
    padding: 15px 10px;
    text-align: center;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    font-size: 13px;
}

.alert .message .text strong {
    display: inline;
}

.alert .button {
    background: #FAA14A;
    color: #fff;
    padding: 5px 10px;
    min-width: 100px;
    margin: 10px 5px 0;
}

.alert .button.active {
    background: #ccc;
}

.button.inactive {
    background: #444444;
}

.desc {
    font-size: 12px;
    margin: 10px 0;
}

.desc:before {
    content: "Описание:";
    display: block;
    padding-bottom: 5px;
    font-weight: bold;
}